import request from "@/utils/request";

// 查询日志列表
export function getHandleLogs(handleId, type, lasttime) {
  return request({
    url: `/hd/log/query/${handleId}/${type}`,
    method: "get",
    params: { lasttime: lasttime },
  });
}

/**
 * 查询所有日志
 * @param {*} handleId
 * @returns
 */
export function getAllHandleLogs(handleId) {
  return request({
    url: `/hd/log/query/${handleId}`,
    method: "get",
  });
}
